package org.lh.ibernate.core.invoker;


/*
*
* @author idea
* @date 2018/7/12
* @des 专门用于动态创建接口实例化对象的工厂
*/
public class MapperFactory<T> {

    //转换为接口
    public T createmapper(Class interfaceClazzName) throws ClassNotFoundException {
        return (T) new Invoker().getInstance(interfaceClazzName);
    }


}
